#include "jspluginmanager.h"
#include "v8.h"

namespace nickel
{
	namespace framework
	{
		PluginManager::PluginManager(nickel::core::PluginManager& orginalPluginManager)
		{
			m_OrginalPluginManager = orginalPluginManager;
		}
		
		PluginManager::~PluginManager(void)
		{
		}

		Handle<Number> PluginManager::Load()
		{
			return Number::New(5/*(double)m_OrginalPluginManager.Load()*/);
		}

		void PluginManager::Unload(Handle<Number> pluginId)
		{
			//m_OrginalPluginManager.Unload((int)pluginId->Value());
		}
	}
}
